package com.billiards.entity;

public class Ball {
    private  int id;
    private String ballname;
    private String buytime;
    private String image;
    private String broken;
    private String state;

    public Ball() {
    }



    public Ball(int id,String state, String ballname, String buytime, String image, String broken) {
        this.id = id;
        this.ballname = ballname;
        this.buytime = buytime;
        this.image = image;
        this.broken = broken;
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBallname() {
        return ballname;
    }

    public void setBallname(String ballname) {
        this.ballname = ballname;
    }

    public String getBuytime() {
        return buytime;
    }

    public void setBuytime(String buytime) {
        this.buytime = buytime;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getBroken() {
        return broken;
    }

    public void setBroken(String broken) {
        this.broken = broken;
    }

    @Override
    public String toString() {
        return "Ball{" +
                "id=" + id +
                ", ballname='" + ballname + '\'' +
                ", buytime='" + buytime + '\'' +
                ", image='" + image + '\'' +
                ", broken='" + broken + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
